package com.share.homestay.interfaces;


import com.share.homestay.entity.HostelSystem;
import com.share.homestay.pojo.JsonResult;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface HostelSystemServiceApi {
    @RequestMapping("findPageHostelSystem")
    JsonResult findPageHostelSystem(@RequestBody HostelSystem hostelSystem, @RequestParam(value = "pageNum",defaultValue = "1")Long pageNum, @RequestParam(value = "pageSize",defaultValue = "100")Long pageSize);
    @RequestMapping("delByIdHostelSystem")
    Long delByIdHostelSystem(@RequestParam("id") String id);
}
